babl = library(lib_name,
babl_sources,
include_directories: [ rootInclude, bablBaseInclude],
- c_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ],
- cpp_args: [ '-DLIBDIR="' + get_option('libdir') + '"', ],
+ c_args: [ '-DLIBDIR="' + join_paths(get_option('prefix'), get_option('libdir')) + '"', ],
+ cpp_args: [ '-DLIBDIR="' + join_paths(get_option('prefix'), get_option('libdir')) + '"', ],
link_with: [ babl_base, ],
link_args: [ '-Wl,--version-script,' + version_script, ],
dependencies: [ math, thread, dl, ],